package base;

public class 逢七必过 {
    public static void main(String[] args){
        //逢七必过
        int i;
        for (i = 1;i<=100;i++){
            if (i%10==7||i%7==0||i/10%10==7){ //各位，约数，十位
                System.out.print("过！"+"\t");
                continue;
            }
            System.out.print(i+"\t");
        }
    }
}
